﻿using System.ComponentModel.DataAnnotations;
using ZhongJia.Core.Consts;

namespace GuanQL.Service.Accounts.Dto
{
    public class VerificationCodeInput  
    {
        [Display(Name = "手机号码")]
        [Required(AllowEmptyStrings = false, ErrorMessage = "{0}未输入")]
        [RegularExpression(GlobalRegularExpression.Mobile, ErrorMessage = "{0}格式不正确")]
        public string Mobile { get; set; }


        //[Display(Name = "场景")]
        //public SMSScene Scene { get; set; }
    }
}
